package com.szlanyou.thirdsdk.retrofit.util;

/**
 * @author  陈章
 * desc:网络类型
 */
public enum NetworkType {
    NETWORK_WIFI("wifi"),
    NETWORK_4G("4g"),
    NETWORK_2G("2g"),
    NETWORK_3G("3g"),
    NETWORK_UNKNOWN("unknown"),
    NETWORK_NO("none");

    private String desc;
    NetworkType(String desc) {
        this.desc = desc;
    }

    @Override
    public String toString() {
        return desc;
    }
}